Carbon


IsWindowCollapsable

Header: MacWindows.h Carbon status: Supported

Determines whether a window can be collapsed.

Boolean IsWindowCollapsable (
    WindowRef window
);
window

A pointer to the window to be examined.

function result

If true, the window can be collapsed; otherwise, false.

DISCUSSION

Your program can call the IsWindowCollapsable function to determine if a given window can be programmatically collapsed by calling the function CollapseWindow. Whether a window is collapsable is determined by whether the window definition function returns the feature bit kWindowCanCollapse in response to a kWindowGetFeatures message.

VERSION NOTES

This function is available with Appearance Manager 1.0 and later.

AVAILABILITY

Supported in Carbon. Available in CarbonLib 1.0 and later when CarbonLib 1.0 or later is installed. Exported by CarbonLib 1.0 and later and by CarbonLib 1.0 and later.


© 2000 Apple Computer, Inc. — (Last Updated 4/14/2000)